import './App.css';
import Home from './pages/Home';
import Login from './pages/Login';
import Detail from './pages/Detail';
import { Route, Redirect } from 'react-router-dom'
import './mock'
import './store'


// PC   antd

function App() {
  return (
    <div className="App">
      <Route path="/home" component={Home}/>
      <Route path="/login" component={ Login }/>
      <Route path="/detail/:id" component={ Detail }/>
      {/* <Redirect to="/home"/> */}
    </div>
  );
}

export default App;
